package com.lingnan.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lingnan.dto.CompanyAuditDTO;
import com.lingnan.dto.CompanyQueryRequest;
import com.lingnan.entity.po.Company;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CompanyMapper extends BaseMapper<Company> {

    /**
     * 分页查询企业审核信息
     */
    IPage<CompanyAuditDTO> selectCompanyAuditPage(Page<CompanyAuditDTO> page,
                                                  @Param("query") CompanyQueryRequest query);
}
